<?php
$action=$argv[1];
if($action=='start'){
	exec("sh /opt/huisheng/wwwroot/api.raisound.com/html/instruction_platform_api/start_websocket.sh start");
        echo "start \n ";
}else{
	exec("sh /opt/huisheng/wwwroot/api.raisound.com/html/instruction_platform_api/start_websocket.sh stop");
      echo "stop\n";
}

while(true){
	sleep(1);
	echo "running\r\n";
}
